﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Galaktika.BI.Silverlight.Controls.OLAP.Info
{
    public enum CubeInfoType
    {
        Unknown,
        Cube,
        Dimension
    }

    /// <summary>
    /// Класс, прделоставляющий информацию о кубе
    /// </summary>
    public class CubeDefInfo : PropertiesBase
    {
        private String m_Caption = String.Empty;
        public String Caption
        {
            get { return m_Caption; }
            set { m_Caption = value; }
        }

        private String m_Description = String.Empty;
        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }

        private String m_Name = String.Empty;
        public String Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        private DateTime m_LastProcessed = DateTime.MinValue;
        public DateTime LastProcessed
        {
            get { return m_LastProcessed; }
            set { m_LastProcessed = value; }
        }

        private DateTime m_LastUpdated = DateTime.MinValue;
        public DateTime LastUpdated
        {
            get { return m_LastUpdated; }
            set { m_LastUpdated = value; }
        }

        private CubeInfoType m_Type = CubeInfoType.Cube;
        public CubeInfoType Type
        {
            get { return m_Type; }
            set { m_Type = value; }
        }

        public CubeDefInfo()
        {
        }
    }
}
